import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false

Vue.filter('parsePlayCount', function (value) {
  if (!value) return ''
  return (value / 10000).toFixed(1) + "万";
})
Vue.filter('completeImageUrl', function (value) {
  if (!value) return ''
  return `${value}?imageView=1&type=webp&thumbnail=247x0`
})


new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
